翻訳と辞書 |
Monkey patch : ウィキペディア英語版 | Monkey patch
A monkey patch is a way for a program to extend or modify supporting system software locally (affecting only the running instance of the program). This process has also been termed duck punching, based on the term "duck typing". ==Etymology== The term ''monkey patch'' seems to have come from an earlier term, ''guerrilla patch'', which referred to changing code sneakily – and possibly incompatibly with other such patches – at runtime. The word ''guerrilla'', homophonous with ''gorilla'' (or nearly so), became ''monkey'', possibly to make the patch sound less intimidating.〔 An alternative etymology is that it refers to “monkeying about” with the code (messing with it). The definition of the term varies depending upon the community using it. In Ruby,〔(【引用サイトリンク】title=Refining Ruby )〕 Python,〔 〕 and many other dynamic programming languages, the term ''monkey patch'' only refers to dynamic modifications of a class or module at runtime, motivated by the intent to patch existing third-party code as a workaround to a bug or feature which does not act as desired. Other forms of modifying classes at runtime have different names, based on their different intents. For example, in Zope and Plone, security patches are often delivered using dynamic class modification, but they are called ''hot fixes''.
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Monkey patch」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|